<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * @copyright Copyright (c) 2017, Olivier Paroz (github@oparoz.com)
 * @copyright Copyright (c) 2017, Philipp Kewisch
 * @copyright Copyright (c) 2017, Mark James
 * @copyright Copyright (c) 2017, Guillaume Viguier-Just (@guillaumev)
 *
 * @license GNU AGPL version 3 or any later version
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
-->

<!DOCTYPE html [
		<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;
		<!ENTITY % ncDTD SYSTEM "chrome://nextcloud/locale/settings.dtd"> %ncDTD;
		]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<script type="application/javascript"
			src="chrome://nextcloud/content/settings.js"/>
	<link rel="stylesheet"
		  type="text/css"
		  href="chrome://messenger/skin/cloudfile/addAccountDialog.css"/>
</head>
<body id="provider-settings">
<form id="provider-form" onsubmit="return false;">
	<label for="displayName">&nextcloudSettings.provider;</label>
	<input id="displayName" required="required" type="text"/>
	<label for="server">&nextcloudSettings.server;</label>
	<input id="server" type="text" required="true"/>
	<label for="port">&nextcloudSettings.port;</label>
	<input id="port" pattern="[0-9]+" required="true" value="443"/>
	<label for="username">&nextcloudSettings.username;</label>
	<input id="username" type="text" required="true"/>
	<label for="storageFolder">&nextcloudSettings.storageFolder;</label>
	<input id="storageFolder" type="text" required="true" value="/Mail-attachments"/>
	<label for="protectUploads">&nextcloudSettings.protectUploads;</label>
	<input id="protectUploads" type="password" value=""/>
</form>
<div id="learn-more">
	<a href="https://nextcloud.com/">&nextcloudSettings.learnMore;</a>
</div>
</body>
</html>
